home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3315 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Off topic post
  5. Date: 27 Jan 1996 19:12:02 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Jan27121202@qcd.lanl.gov>
  8. References: <4dvrq8$c2c@news.unicomp.net> <TANMOY.96Jan22085051@qcd.lanl.gov>
  9.     <4e66s5$dvl@ns.RezoNet.NET>
  10. NNTP-Posting-Host: qcd.lanl.gov
  11. Mime-Version: 1.0
  12. Content-Type: text
  13. In-reply-to: ray@ultimate-tech.com's message of 24 Jan 1996 21:04:05 GMT
  14.  
  15. In article <4e66s5$dvl@ns.RezoNet.NET> ray@ultimate-tech.com (Ray
  16. Dunn) writes: 
  17. <snip>
  18.    It would be pleasant if we could save a lot of people embarassment from 
  19.    this continuing 'C' ANSI snobbery when they post genuine questions in 
  20.    all innocence.
  21.  
  22.    Unless posts *specifically* question the use of the "far", "near", etc., 
  23.    keywords of that well-known flavour of 'C', and ask legitimate ANSI 'C' 
  24.    based questions, then those keywords can be *ignored* for the purposes 
  25.    of this group.
  26.  
  27.    There is a *big* difference between someone posting a question based on 
  28.    the infamous "void main(void)", or other illegal use of constructs 
  29.    clearly defined in ANSI, and some posted code which contains extensions 
  30.    necessary for the real world system environemnts that most of us have to 
  31.    exist in when we're not just being language lawyers.
  32.  
  33.    This gripe is not specifically targeted at Tanmoy, whom we should thank 
  34.    for his continuing helpful responses, but he is particularly crotchetty 
  35.    in this area.
  36.  
  37. I do not disagree that my responses are sometimes needlessly
  38. unpleasant. What I object to is not use of keywords like `far', but
  39. a lack of knowledge that the posted code is not valid C. 
  40.  
  41.    If I got some error, and did not get the expected answer from
  42. a compiler, the first thing I would do is try to get the same error in
  43. a strictly conformant code. I believe (and have often been proven
  44. correct in this respect) that compiler writers make more errors
  45. explaining their extensions than in writing their compilers.
  46.  
  47.    A post with a keyword like far tells me that the user, probably,
  48. does not know the difference between the language as defined, and a
  49. compiler extension. You will notice that my response to a person who
  50. used an incomplete array type in a struct used essentially similar
  51. language.
  52.  
  53.    In short, I believe that anyone writing in a language ought to know
  54. the difference between portable and non-portable constructs. Whether
  55. my replies are constructive, however, I really do not know.
  56.  
  57. Cheers
  58. Tanmoy
  59. --
  60. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  61. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  62. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  63. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  64. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  65. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  66.